<?php

class ZFKiller_Filter_Currency implements Zend_Filter_Interface {

	public function filter($value) {
		if(false === is_numeric($value)) {
			$value = 0;
		}
		return Zend_Registry::get('Zend_Currency')->toCurrency($value);
	}

}